package io.aircraft.modules.wms.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

import java.math.BigDecimal;

/**
 * 入库明细
 *
 * @author Cycle gengruyi01@163.com
 * @since 1.0.0 2022-10-17
 */
@Data
@ApiModel(value = "入库明细")
public class PurchaseDetailDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "id")
	private Long detailId;

	@ApiModelProperty(value = "主单id")
	private Long purchaseId;

	@ApiModelProperty(value = "商品编号")
	private String spuNo;
	private String lotNo;
	private String contNo;

	@ApiModelProperty(value = "计划量")
	private BigDecimal planQnty;
	@ApiModelProperty(value = "绑定量")
	private BigDecimal bindQnty;

	@ApiModelProperty(value = "实收量")
	private BigDecimal actlQnty;

	@ApiModelProperty(value = "单据状态")
	private Integer detailSt;

	@ApiModelProperty(value = "创建用户")
	private Long creator;

	@ApiModelProperty(value = "创建日期")
	private Date createDate;

	@ApiModelProperty(value = "更新用户")
	private Long updater;

	@ApiModelProperty(value = "更新日期")
	private Date updateDate;

	@ApiModelProperty(value = "备注")
	private String comments;

	/*创建用户与更新用户的编号(代替id在界面中更友好的显示)*/
	private String creatorName;
	private String updaterName;
}